package com.xb.cloud.order.service.impl;

import javax.annotation.Resource;

import com.xb.cloud.common.client.TimeService;
import com.xb.cloud.common.keygen.IPKeyGenerator;

/**
 * 
 * @ClassName: AbstractService
 * @Description:服务统一抽象类，定义公共属性
 * @author: 鲜备科技
 * @date: 2018年1月8日 下午2:37:09
 * 
 * @Copyright: 2018 www.xianbeitech.com Inc. All rights reserved.
 *
 */
public abstract class AbstractService {

	@Resource
	protected TimeService timeService;

	@Resource
	protected IPKeyGenerator ipKeyGenerator;

	public TimeService getTimeService() {
		return timeService;
	}

	public void setTimeService(TimeService timeService) {
		this.timeService = timeService;
	}

	public IPKeyGenerator getIpKeyGenerator() {
		return ipKeyGenerator;
	}

	public void setIpKeyGenerator(IPKeyGenerator ipKeyGenerator) {
		this.ipKeyGenerator = ipKeyGenerator;
	}
}
